@import './modules/reset.scss';
@import './modules/footer.scss';
@import './modules/header.scss';
@import './modules/service.scss';
@import './modules/sidebar.scss';

header{
    background: #fff;
    opacity: .87;
}
.main {
    height: 100%;
    padding-left: 10px;
    padding-right: 20px;

    .detail {
        width: 84.4%;
        // height: 3736px;
        // background-color: yellowgreen;
        float: right;

        >.top {
            width: 100%;
            height: 80px;

            >.all-goods {
                width: 125px;
                height: 40px;
                float: left;

                >h3 {
                    height: 40px;
                    line-height: 40px;
                    font-size: 20px;
                    font-weight: 700;
                    color: #000;

                    >span {
                        font-style: normal;
                        font-size: 15px;
                        color: #999;
                        font-weight: 400;
                        vertical-align: baseline;
                        margin-left: 5px;
                    }
                }

            }

            .top-right {
                float: right;

                >div {
                    display: inline-block;
                    line-height: 40px;
                    vertical-align: middle;
                    height: 40px;
                }

                >div.result-count {
                    font-size: 14px;
                    height: 40px;
                    line-height: 40px;
                    margin-right: 20px;
                }

                >div.selector-open {
                    margin-right: 20px;
                    font-size: 16px;
                    font-weight: bold;
                    cursor: pointer;
                }

                .filter-order {
                    position: relative;

                    .dropdown-btn {
                        display: inline-block;
                        height: 40px;
                        line-height: 38px;
                        color: #333;
                        border: 1px solid #ccc;
                        border-radius: 3px;
                        padding: 0 45px 0 20px;
                        font-size: 14px;
                        position: relative;
                        text-align: center;
                        z-index: 1;
                    }

                    .filter-order-btn.dropdown-btn {
                        margin: 0;
                        padding-left: 5px;
                        padding-right: 40px;
                        min-width: 140px;
                        text-align: center;
                        max-width: 170px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;

                        &::before{
                            height: 9px;
                            width: 9px;
                            border-left: 2px solid #666;
                            border-bottom: 2px solid #666;
                            position: absolute;
                            right: 15px;
                            top: 11px;
                            content: '';
                            transform: rotate(-45deg);
                        }
                    }

                    .filter-order-list.dropdown-menu {
                        width: 170px;
                        text-align: left;
                        top: 0;
                    }

                    .dropdown-menu {
                        display: none;
                        position: absolute;
                        background: #fff;
                        top: 0;
                        right: 100%;
                        padding: 10px 0;
                        z-index: 10;
                        border: 1px solid #ccc;
                        text-align: left;

                        >li {
                            height: 30px;
                            background: #fff;
                            padding: 0 12px;

                            >a {
                                color: #333;
                                border-bottom: 1px solid #f5f5f5;
                                height: 30px;
                                display: block;
                                line-height: 29px;
                                font-size: 13px;
                                position: relative;
                                padding-left: 5px;
                            }
                        }
                        li.active>a:after {
                            content: '';
                            position: absolute;
                            height: 7px;
                            width: 7px;
                            border-radius: 50%;
                            background: #03234c;
                            top: 11px;
                            right: 5px;
                        }
                    }
                }
            }
        }

        .goods-list{
            width: 100%;

            .goods-item {
                width: 280px;
                height: 340px;
                margin: 10px;
                position: relative;
                float: left;

                .goods-body {
                    padding: 15px;
                    width: 100%;
                    background: #fff;
                    position: absolute;
                    top: 0;
                    left: 0;
                    transition: .2s;
                    -webkit-transition: .2s;
    
                    >a {
                        display: block;
    
                        >img {
                            width: 100%;
                        }
                    }
    
                    .goods-pic {
                        height: 250px;
                        width: 250px;
                        margin-bottom: 5px;
                        overflow: hidden;
                    }
    
                    .goods-name {
                        width: 100%;
                        height: 30px;
                        line-height: 25px;
                        font-size: 16px;
                        font-weight: 500;
                        color: #000;
                    }
    
                    .goods-price {
                        height: 25px;
                        line-height: 25px;
                        color: #000;
                        font-size: 17px;
                        font-weight: 500;
                    }
                }
            }

        }
    }
}


footer {
    bottom: 0;
    min-width: 1280px;
}